package com.powernode.controller;

import com.powernode.common.Constants;
import com.powernode.domain.Customer;
import com.powernode.utils.MD5Utils;
import com.powernode.utils.WebMvcUtils;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class RouteController {

    @RequestMapping("login/toLogin.do")
    public String toLogin() {
        return "login";
    }

    @RequestMapping("main/toIndex.do")
    public String toIndex() {
        return "index";
    }

    @RequestMapping("page/welcome.do")
    public String welcome() {
        return "welcome";
    }

    @RequestMapping("page/toUserManager.do")
    public String toUserManager() {
        return "user/list";
    }

    @RequestMapping("page/toCustomerManager.do")
    public String toCustomerManager() {
        return "customer/list";
    }

    @RequestMapping("page/toChangePwd.do")
    public String toChangePwd(){
        return "user/changePwd";
    }


    @RequestMapping("page/toShowInfo.do")
    public String toShowInfo(){
        return "user/showInfo";
    }

    @RequestMapping("page/toChangeImg.do")
    public String toChangeImg(){
        return "user/changeImg";
    }

    @RequestMapping("page/toStatManager.do")
    public String toStatManager(){
        return "stat/statManager";
    }

    @RequestMapping("page/toNoticeManager.do")
    public String toNoticeManager() {
        return "notice/list";
    }
}
